package com.cx.service;

import com.cx.pojo.Carts;
import com.cx.pojo.GoodDetail;

import java.util.List;

/**
 * @author ：zhangjie
 * @Description :
 */
public interface GoodDetailService {
    GoodDetail selectById(Integer id);

    int insert(Carts carts);

    List<Integer> selectGoodId(Integer id);

    List<Carts> selectByUserId(Integer id);

    int insertCollection(Integer userId,Integer goodId);

    int deleteByGoodId(Integer goodId);

    int updateByGoodId(Carts carts);

    GoodDetail selectBySeckillId(Integer id);
}
